<?php

namespace App\Models\ChinaBank;

use Illuminate\Database\Eloquent\Model;

class GoodsModel extends Model
{
    protected $table = "bank_goods";
    protected $primaryKey = "id";
    protected $guarded = [];

    public function shopinfo(){
        return $this->hasOne(ShopModel::class,"id",'shop');
    }
}
